package cn.doitedu.basic.jdk;

import java.util.concurrent.ConcurrentSkipListMap;

/**
 * Created by 31464 on 2021/9/10.
 */
public class ConcurrentSkipListMapDemo {

    /**
     *ConcurrentSkipListMap 按照key的自然顺序进行排序
     * @param args
     */
    public static void main(String[] args) {
        ConcurrentSkipListMap<String, String> map = new ConcurrentSkipListMap<>();

        map.put("10","hailong1");
        map.put("183","hailong2");
        map.put("18","hailong3");
        map.put("17","hailong4");
        map.put("16","hailong5");
        map.put("18301","hailong6");

        System.out.println(map);

    }

}
